<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<style type="text/css">
	
.order-submit-success {
	width: auto;
	margin-top: 10px;
}

.order-submit-success .top {
	text-align: center;
}

.order-submit-success .top .done {
	color: #E1D7A5;
	font-size: 30px;
	margin-left: 20px;
}
.order-submit-success .info{
	padding: 10px;
	text-indent:2em;
}
</style>
<script type="text/javascript">
$(function(){
	$('#should').text(changeTwoDecimal(parseFloat($('#should').text())));
	$('#shouldPreAmount').text(changeTwoDecimal(parseFloat($('#shouldPreAmount').text())));
});
</script>
</head>
<body>
	<div class="order-submit-success">
		<div class="top">
			<img src="<c:url value='/static/skins/images/orderSubmited.png' />">
			<span class="done"><b>订单已提交！</b></span>
		</div>
		<div style="text-align: center;padding-top: 10px;">
			<span class="">总金额：￥${order.fullAmount }元，</span>
			<span class="">预付款：￥<span id="should">${order.preAmount }</span></span>
			<hr style="margin-top: 10px;"/>
		</div>
		<div class="info">
			<span>
			<!-- 尊敬的顾客，您的订单已生成，我们将在工作时间（9:00-18:00）为您将订单保留3个小时，请尽快支付预付款！ -->
			恭喜您！您的订单已生成，请使用支付宝支付预付款<span class="red">￥<span id="shouldPreAmount">${order.preAmount }</span></span>，
			我们的支付宝收款账户为：<span class="red">dfbhpay@hillsun.cn</span>，或扫描以下二维码快速支付。
			（我们将在工作时间早9:00-晚21:00保留3小时的订单有效时间）。
			如您有任何疑问，请拨打我们的客服电话：023-88930888。
			</span>
		</div>
		<div style="text-align: center;height: 30px;">
				<a class="button bg-red" href="<c:url value='/web/product/list' />">继续购物</a>
				<a class="button bg-gray" href="<c:url value='/web/preSaleOrder/list' />">查看订单</a>
		</div>
		<div style="text-align: center;">
			<span>请使用支付宝扫描以下二维码快速付款</span>
		</div>
		<div  style="text-align: center;">
			<img src="<c:url value='/static/skins/images/alipayQrcode.png' />">
		</div>
		<!-- <div class="custom" style="text-align: center;">
			客服电话：<span class="costomerPhone">023-88930888</span>
		</div> -->
	</div>
</body>
</html>